//	 Copyright 2011 Elian ORIOU
//
//   Licensed under the Apache License, Version 2.0 (the "License");
//   you may not use this file except in compliance with the License.
//   You may obtain a copy of the License at
//
//       http://www.apache.org/licenses/LICENSE-2.0
//
//   Unless required by applicable law or agreed to in writing, software
//   distributed under the License is distributed on an "AS IS" BASIS,
//   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
//   See the License for the specific language governing permissions and
//   limitations under the License.

package org.eo.geomapper.parser;

/**
 * Provides all tag names for XML parsing
 * 
 * @author Elian ORIOU
 * 
 */

public class TagNamesProvider {

	/* ELEMENTS NAMES */

	public static final String LAYER_TAG_NAME = "layer";

	public static final String ELEMENT_TAG_NAME = "element";

	public static final String POINT_TAG_NAME = "point";

	public static final String LINE_TAG_NAME = "line";

	public static final String POLYGON_TAG_NAME = "polygon";

	/* ATTRIBUTES NAMES */

	public static final String NAME_ATTR_NAME = "name";

	public static final String TYPE_ATTR_NAME = "type";

	public static final String COLOR_ATTR_NAME = "color";

	public static final String X_COORD_ATTR_NAME = "x";

	public static final String Y_COORD_ATTR_NAME = "y";

	public static final String DB_HOST_ATTR_NAME = "host";

	public static final String DB_USERNAME_ATTR_NAME = "username";

	public static final String DB_PASSWORD_ATTR_NAME = "password";

	public static final String DB_DBNAME_ATTR_NAME = "database";

	public static final String TABLENAME_ATTR_NAME = "tablename";

	public static final String NAMEFIELD_ATTR_NAME = "namefield";

	public static final String COORDFIELD_ATTR_NAME = "coordfield";

	/* CONFIGURATION TAGS NAMES */

	public static final String CONFIGURATION_TAG_NAME = "configuration";

	public static final String DB_CONNECTION_TAG_NAME = "db-connection";

	public static final String LOADED_LAYERS_TAG_NAME = "loaded-layers";

	public static final String LOADED_LAYER_TAG_NAME = "loaded-layer";

}